package com.gxar.quick.ar.server.base.common.properties;

import com.google.common.collect.Lists;
import com.gxar.quick.ar.server.base.async.sms.dto.SmsTemplateDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@EqualsAndHashCode(callSuper = true)
@ConfigurationProperties(prefix = "sms.exchange")
@RefreshScope
public class ExchangeSendProperties extends SmsTemplateDTO {

    {
        super.setSign("蚂蚁特工");
        super.setTemplateCode("SMS_137540018");
        super.setParamName(Lists.newArrayList("code"));
    }

}